﻿using B.S.Medical.Domain.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Medical.Domain.Medical
{
    /// <summary>
    /// 患者表
    /// </summary>
    public class PatientModel: BaseEntity
    {
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string? IdCard { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 微信昵称
        /// </summary>
        public string? WechatName { get; set; }

        /// <summary>
        /// 头像URL
        /// </summary>
        public string? Avatar { get; set; }

        /// <summary>
        /// 关系（如：本人、家属）
        /// </summary>
        public string? Relation { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string? Address { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }=DateTime.Now;
        /// <summary>
        /// 身份证类型
        /// </summary>
        public string? IdCardType { get; set; }
        /// <summary>
        /// 就诊卡号
        /// </summary>
        public string? PatientId {  get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public long AccountId { get; set; }
    }
}
